<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>hello</title>
</head>
<body>

<div id="kuai">
    <ul>
        <li v-for="(value,key,index) in user" :key="index">
           {{index}}-{{key}}:{{value}}
        </li>



        <hr/>
        <li v-for="(i,k) in user">
            {{k}} : {{i}}
        </li>
    </ul>
</div>
<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    var heima = new Vue({
        el: "#kuai",
        data: {
            user: {name: '柳岩', gender: '女', age: 21}
        },

    });
</script>


</body>
</html>